package com.woniuxy.project115.kaer.platform.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author fyy
 * @since 2025年02月23日
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("role_permission")
public class RolePermission implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableField("id")
    private Integer id;

    @TableId(value = "role_id", type = IdType.AUTO)
    private Integer roleId;

    @TableField("permission_id")
    private Integer permissionId;

    /**
     * 关联创建时间
     */
    @TableField("created_time")
    private LocalDateTime createdTime;


}
